#include "ErrorType.h"
#define MAXSIZE 1000

#define TRUE 1
#define FALSE 0


typedef struct PolyNode *Polynomial;
struct PolyNode{
    int coef;
    int expon;
    Polynomial Link;
};

Polynomial ReadPoly(); // Read a polynomial
void Attach(int c, int e, Polynomial *pRear);
Polynomial Mult(Polynomial P1, Polynomial P2);
Polynomial Add(Polynomial P1, Polynomial P2);
void PrintPoly(Polynomial P);